<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<link rel="stylesheet" href="../style/journal.css" type="text/css" />
<style type="text/css"><!--
.googleadsense {
	margin: 2px;
	padding: 0px;
//--></style><script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-65008-1";
urchinTracker();
</script><title>中国城市资料数据库 Beta 版</title>
</head>
<body>
<a href="index.html">Journal</a>(2005) | <a href="../blog/"><b>Blog</b></a>(2006) | <a href="http://www.fayland.org/cgi-bin/random_link.pl">RandomLink</a> | <a href="AboutFayland.html">WhoAmI</a> | <a href="LiveBookmark.html">LiveBookmark</a> | <a href="http://www.fayland.org/">HomePage</a>
<p><&lt;Previous: <a href="CPAN_update.html">CPAN RSS updated</a>&nbsp;&nbsp;>>Next: <a href="modperl_helloworld.html">modperl Apache2::HelloWorld</a></p>
<h1>中国城市资料数据库 Beta 版</h1>
<div class='content'>
<p>Category: <a href='Miscellaneous.html'>Miscellaneous</a> &nbsp; Keywords: <b>中国城市资料数据库</b></p>在好多天前起了个建立<a href='CityInfo.html'>中国城市资料数据库</a>的念头。<br />经过一个晚上好几个小时的奋斗，终于把最简易的“中国城市资料数据库”给弄了个雏形。<p />用 <a href="http://dev.catalyst.perl.org">Catalyst</a> 的 <a href="http://search.cpan.org/perldoc?Catalyst::Helper::Controller::Scaffold">Catalyst::Helper::Controller::Scaffold</a> 弄了个最简易的编辑框，然后写了好几份数据解析：从网页上获取数据然后插入到数据库里。<p />两张截图如下：<br /><img src='img/ChinaCity_city.jpg' /><br /><br /><img src='img/ChinaCity_province.jpg' /><p /><ul>说它是雏形是因为：<br /><li>数据库是不完整的，缺了几个城市，还有很多经纬度<br /><li>里面资料的正确性是无法验证的<br /></ul>所以我需要诸位的帮助，如果各位在使用该数据库中发现错误，或者想要增加某些城市等等，请把更正的资料发 email 给我：fayland at gmail.com<br />或许我可以去 sf.net 建立一个 project. :)<p />数据库可以从 <a href="http://www.fayland.org/project/chinacity/chinacities.db">http://www.fayland.org/project/chinacity/chinacities.db</a> (SQLite 数据库) 下走。Enjoy!<p />查看数据库或如何使用该数据库可以访问 <a href="http://www.sqlite.org/cvstrac/wiki?p=SqliteTools">http://www.sqlite.org/cvstrac/wiki?p=SqliteTools</a><br />查看的可以使用最简单的 <a href='http://sqlitebrowser.sourceforge.net/'>SQLiteDatabaseBrowser</a><p />去睡觉了。See u</div>
<p><&lt;Previous: <a href="CPAN_update.html">CPAN RSS updated</a>&nbsp;&nbsp;>>Next: <a href="modperl_helloworld.html">modperl Apache2::HelloWorld</a></p>
<p><strong>Options:</strong> <a href='http://del.icio.us/post?title=%E4%B8%AD%E5%9B%BD%E5%9F%8E%E5%B8%82%E8%B5%84%E6%96%99%E6%95%B0%E6%8D%AE%E5%BA%93%20Beta%20%E7%89%88&url=http://www.fayland.org/journal/CityInfo_Beta.html'>+Del.icio.us</a></p>
<strong>Related items</strong>
<ul><li><a href='Module_Build.html'>用Module::Build制作CPAN模块包</a> < <span class='digit'>2004-12-16 18:59:50</span> ></li><li><a href='050315.html'>rt.cpan.org: Bug</a> < <span class='digit'>2005-03-15 22:18:50</span> ></li><li><a href='minicpan.html'>如何用 minicpan 映像自己的 CPAN</a> < <span class='digit'>2005-04-07 22:14:38</span> ></li><li><a href='CPAN_update.html'>CPAN RSS updated</a> < <span class='digit'>2005-11-13 20:58:31</span> ></li><li><a href='CPANPLUS_Tester.html'>be a CPANPLUS Tester</a> < <span class='digit'>2005-12-09 16:35:07</span> ></li><li><a href='Date_Holidays_CN.html'>检测中国的假期模块</a> < <span class='digit'>2005-12-20 15:00:51</span> ></li><li><a href='CPAN_Contributor.html'>写模块给 CPAN 要注意的地方</a> < <span class='digit'>2005-12-21 14:14:33</span> ></li></ul>
Created on <span class="digit">2005-11-16 02:00:21</span>, Last modified on <span class="digit">2005-11-25 11:44:40</span><br />
Copyright 2004-2005 All Rights Reserved. Powered by <a href="Eplanet.html">Eplanet</a> && <a href='http://catalyst.perl.org'>Catalyst</a> 5.62.
</body>
</html>